package db.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Course entity. @author MyEclipse Persistence Tools
 */

public class Course implements java.io.Serializable {

	// Fields

	private String courseid;
	private String coursename;
	private Double credit;
	private String examination;
	private String nature;
	private Set teaCourses = new HashSet(0);
	private Set courClasses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Course() {
	}

	/** minimal constructor */
	public Course(String courseid, String coursename, Double credit) {
		this.courseid = courseid;
		this.coursename = coursename;
		this.credit = credit;
	}

	/** full constructor */
	public Course(String courseid, String coursename, Double credit, String examination, String nature, Set teaCourses,
			Set courClasses) {
		this.courseid = courseid;
		this.coursename = coursename;
		this.credit = credit;
		this.examination = examination;
		this.nature = nature;
		this.teaCourses = teaCourses;
		this.courClasses = courClasses;
	}

	// Property accessors

	public String getCourseid() {
		return this.courseid;
	}

	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}

	public String getCoursename() {
		return this.coursename;
	}

	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}

	public Double getCredit() {
		return this.credit;
	}

	public void setCredit(Double credit) {
		this.credit = credit;
	}

	public String getExamination() {
		return this.examination;
	}

	public void setExamination(String examination) {
		this.examination = examination;
	}

	public String getNature() {
		return this.nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}

	public Set getTeaCourses() {
		return this.teaCourses;
	}

	public void setTeaCourses(Set teaCourses) {
		this.teaCourses = teaCourses;
	}

	public Set getCourClasses() {
		return this.courClasses;
	}

	public void setCourClasses(Set courClasses) {
		this.courClasses = courClasses;
	}

}